package com.mall.dto;

import java.io.Serializable;
import java.util.List;

import com.mall.pojo.MallItem;

/**
 * 优惠的DTO
 * 
 * @author Administrator
 *
 */
public class DiscountDTO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3863307419406785767L;
	private int type;// 类型
	private Long id;// id
	private Integer buyItemCount;
	private MallItem mallItem;
	private List<DiscountMessageDTO> discountMessageDTOList;

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public MallItem getMallItem() {
		return mallItem;
	}

	public void setMallItem(MallItem mallItem) {
		this.mallItem = mallItem;
	}

	public List<DiscountMessageDTO> getDiscountMessageDTOList() {
		return discountMessageDTOList;
	}

	public void setDiscountMessageDTOList(List<DiscountMessageDTO> discountMessageDTOList) {
		this.discountMessageDTOList = discountMessageDTOList;
	}

	public Integer getBuyItemCount() {
		return buyItemCount;
	}

	public void setBuyItemCount(Integer buyItemCount) {
		this.buyItemCount = buyItemCount;
	}
}
